package com.zhiyou100.weather.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;


public class WeatherResponse  implements Serializable{

    //消息数据
    private WeatherData data;
    //消息状态
    private Integer status;
    //消息描述
    private String desc;

    public WeatherResponse() {

    }

    public WeatherResponse(WeatherData data, Integer status, String desc) {
        this.data = data;
        this.status = status;
        this.desc = desc;
    }

    public WeatherData getData() {
        return data;
    }

    public void setData(WeatherData data) {
        this.data = data;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "WeatherResponse{" +
                "data=" + data +
                ", status=" + status +
                ", desc='" + desc + '\'' +
                '}';
    }
}
